<?php
/* @var $this CategorysController */
/* @var $model Categorys */

$this->pageTitle = $model->category_name . ' - ' . Yii::app()->name;
if($parentCategory)
{
    $this->breadcrumbs[$parentCategory->category_name] = Yii::app()->createAbsoluteUrl('categorys/list', array('alias' => $parentCategory->category_alias));
}

$this->parentCategory = $parentCategory;
$this->breadcrumbs[$model->category_name] = '#';
?>

<h1 style="color:#C00"><?php echo $model->category_name; ?></h1>
<p>
    <?php
    echo $model->category_content;
    ?>
</p>